package com.um.jdy.app.shop.entity.vo;

import com.um.jdy.app.activity.entity.vo.GoodsActivityVO;
import com.um.jdy.app.activity.entity.vo.GoodsCouponsVO;
import com.um.jdy.common.shop.entity.vo.GoodsOptionVO;
import com.um.jdy.common.shop.entity.vo.GoodsVO;
import com.um.springboot.starter.orm.entity.BaseVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Title
 * @Description
 * @Author renjunwei
 * @Date 2023/2/16 14:09
 */
@Data
public class GoodsDetailVO extends BaseVO {
    @ApiModelProperty(value = "商品")
    protected GoodsVO goods;

    @ApiModelProperty(value = "库存")
    protected Integer totalStock;

    @ApiModelProperty(value = "评论总数")
    protected Integer commentCount;

    @ApiModelProperty(value = "销量")
    protected Integer orderNum;

    @ApiModelProperty(value = "买家秀数")
    protected String buyerShowNum;

    @ApiModelProperty(value = "是否收藏")
    protected Boolean isCollection;

    @ApiModelProperty(value = "推荐商品")
    protected List<GoodsVO> recommendGoods;

    @ApiModelProperty(value = "商品规格")
    protected List<GoodsOptionVO> optionList;

    @ApiModelProperty(value = "精选评论")
    protected List<GoodsCommentItemVO> qualityComments;

    @ApiModelProperty(value = "精选评论总数")
    protected Integer qualityCommentCount;

    @ApiModelProperty(value = "商品买家秀")
    protected List buyerShows;

    @ApiModelProperty(value = "优惠券")
    protected List<GoodsCouponsVO> coupons;

    @ApiModelProperty(value = "活动")
    protected GoodsActivityVO activity;

}
